{template 'common/header'}
<div class="mui-content">
    <div class="mui-card">
        <div class="mui-card-header">活动参与凭证<span class="mui-pull-right mui-text-gray">NO.{$NO}</span></div>
        <div class="mui-card-content">
            <div class="mui-card-content-inner">
                <div class="voucher-code">
                {if $records['ishexiao']==1}
                    <p style="margin:30% 0;"><font class="mui-text-success">此凭证已完成核销</font></p>
                {else}
                	<p style="margin-bottom:0"><span style="font-size:85%">核销码：</span>{$records['hexiaoma']}
                    {if $records['paytype']=='delivery' && $records['status']=='0'}<br><font class="mui-text-error">需线下付款</font>{/if}</p>
                    <p style="margin:0;"><img src="{aide_URL}data/qrcode/{$_W['uniacid']}/{$records['orderno']}.png" onerror="javascript:this.src='http://qr.topscan.com/api.php?w=300&text={$qrcodeurl}';"></p>
                {/if}
                </div>
                <div class="voucher-address font-size-14">
                    <p>活动场地：{php echo $activity['hasonline'] ? '线上活动（无须现场参与）' : $_W['merchant']['address']}</p>
                    <p>开始时间：{$activity['starttime']}</p>
                </div>
                <div class="voucher-goods-info font-size-14">
                    <p>活动名称：{$activity['title']} </p>
                    <p>参加名额：{$records['teamnum']} 人</p>
                    {if !empty($records['optionname'])}<p>报名规格：{$records['optionname']}</p>{/if}
                    {if $records['payprice']}
                    <p>实付金额：<font class="mui-text-success mui-rmb">{$records['payprice']} 元</font></p>
                    {elseif $records['price']}
                    <p>应付金额：<font class="mui-text-error mui-rmb">{$records['price']} 元</font></p>
                    {/if}
                    <p>用户昵称：{$records['nickname']}</p>
                    <p>报名时间：{$records['jointime']}</p>
                </div>
            </div>
        </div>
    </div>

    <div class="mui-content-padded mui-button-area">
		<a href="javascript:;" onClick="history.go(-1);" class="mui-btn mui-btn-danger mui-btn-block">返回</a>
	</div>
</div>
</body>
</html>
